using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_ConfigEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_ConfigEntity()
         {
             tableName = "PT_Config";


			 fieldInfos.Add(new FieldInfo("PT_Config","ConfigCode","ConfigCode","string",20,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Config","ConfigDescritption","ConfigDescritption","string",-1,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Config","ConfigValue","ConfigValue","string",50,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_ConfigCode;
		 protected string m_ConfigDescritption;
		 protected string m_ConfigValue;

		 public string ConfigCode

          { 
                get { 
                    return m_ConfigCode;}

                set{m_ConfigCode=value;

                    GetField("ConfigCode").Set();
                    GetField("ConfigCode").IsNull=(value == null);           
                    }
          }
		 public string ConfigDescritption

          { 
                get { 
                    return m_ConfigDescritption;}

                set{m_ConfigDescritption=value;

                    GetField("ConfigDescritption").Set();
                    GetField("ConfigDescritption").IsNull=(value == null);           
                    }
          }
		 public string ConfigValue

          { 
                get { 
                    return m_ConfigValue;}

                set{m_ConfigValue=value;

                    GetField("ConfigValue").Set();
                    GetField("ConfigValue").IsNull=(value == null);           
                    }
          }

}
}
